package com.learnyou.server.xingzuo.dto.resultDTO;

import cn.hutool.core.date.DatePattern;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class KanbanSummaryDTO {
    /**
     * 课次数量
     */
    private String courseScheduleCount;

    /**
     * 教师数量
     */
    private String teacherCount;

    /**
     * 学习中
     */
    private String learningCount;

    /**
     * 总收入
     */
    private String totalIncome;

    /**
     * 订阅到期时间
     */
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date expiredAt;
}
